home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1989
/
02
/
cdll.c
< prev
next >
Wrap
Text File
|
1989-02-26
|
548b
|
42 lines
/* CDLL.c
* a skeleton dynlink library written in C
*
* By Ray Duncan
*
*/
int _acrtused = 0; /* don't link C startup */î
.
.
.
/*
MYFUNC is exported for dynamic linking
by application programs.
*/
int far pascal MYFUNC(int a, int b)
{
.
.
.
}
.
.
.
/*
C_INIT is called from the entry point in CINIT.ASM
when a client process dynlinks to the library.
*/
int far pascal C_INIT(void)
{
.
.
.
return(1); /* return success code */
}